package com.baidu.day03;

public class Demo01 {
    public static void main(String[] args) {
        int[] arr={1,2,34,5,};
        for (int i = 0; i < arr.length; i++) {
            System.out.println(arr[i]);
        }
        System.out.println("----------------------------------------------");
        //增强for循环
        for (int x : arr) {
            System.out.println(x);
        }


    }
}
